// 引入 axios
import http from '@/utils/request'

// 用户登录
export function login(val) {
    return http({
        url: "/jd-user-service/user/login",
        method: "POST",
        data: val
    })
}

// 用户注册
export function register(val) {
    return http({
        url: "/jd-user-service/user/register",
        method: "POST",
        data: val
    })
}